package com.zzty.train.service;

import com.zzty.train.entity.Question;
import com.zzty.train.util.PageUtils;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface QuestionService {
    public List<Question> getQuestion();
    public Integer getQuestionCount();
    public List<Question>getPageQuestion(PageUtils pageUtils);
    public Integer addQuestion(Question question);
    Question addContent(Question question);
    List getAllQuestion();
}
